﻿using System.Linq;
using CSC.FSVTracker.Domain.Entities;

namespace CSC.FSVTracker.Domain.Abstract
{
    /// <summary>
    /// User Repository Interface.
    /// </summary>
    public interface IUserRepository
    {
        /// <summary>
        /// Gets the users.
        /// </summary>
        IQueryable<User> Users { get; }

        /// <summary>
        /// Saves the user.
        /// </summary>
        /// <param name="user">The user.</param>
        void SaveUser(User user);
    }
}
